Don't use deprecated functions in examples. (#319524, Vincent Untz)
authorMatthias Clasen <mclasen@redhat.com>
Tue, 25 Oct 2005 18:00:49 +0000 (18:00 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 25 Oct 2005 18:00:49 +0000 (18:00 +0000)
2005-10-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions
in examples.  (#319524, Vincent Untz)

* gtk/gtk-update-icon-cache.xml: Fix a typo.  (#319524, Vincent Untz)

docs/reference/ChangeLog
docs/reference/gtk/gtk-update-icon-cache.xml
docs/reference/gtk/tmpl/gtkfilechooser.sgml

index 96a1370f51a48b78dc0fb87987961413f7b1b794..2c1115a6d833ce960501e14388e3bda37b501852 100644 (file)
@@ -1,3 +1,10 @@
+2005-10-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions
+       in examples.  (#319524, Vincent Untz)
+
+       * gtk/gtk-update-icon-cache.xml: Fix a typo.  (#319524, Vincent Untz)
+
 2005-10-06  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtk-sections.txt: Add gtk_text_buffer_get_has_selection().
index 726c0fb1616826cb7a98bd27721b54f1c406c0b6..ab8b2e180a713d981562db9894a54fd64e78c83f 100644 (file)
@@ -26,7 +26,7 @@
 icon themes. 
 </para>
 <para>
-If expects to be given the path to a icon theme directory containing an
+It expects to be given the path to a icon theme directory containing an
 <filename>index.theme</filename>, e.g. <filename>/usr/share/icons/hicolor</filename>, 
 and writes a <filename>icon-theme.cache</filename> containing cached information
 about the icons in the directory tree below the given directory.
index 11e547ee79999139fe6d7de13da64c702e77d311..93df72ab1c4a8197b8f8568499a7034c5347ca4c 100644 (file)
@@ -132,7 +132,7 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data)
 
   gtk_image_set_from_pixbuf (GTK_IMAGE (preview), pixbuf);
   if (pixbuf)
-    gdk_pixbuf_unref (pixbuf);
+    gobject_unref (pixbuf);
 
   gtk_file_chooser_set_preview_widget_active (file_chooser, have_preview);
 }